<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Ipopt: Ipopt::PiecewisePenalty Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 40px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Ipopt Documentation
   &#160;<!--span id="projectnumber">3.14.12</span-->
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classIpopt_1_1PiecewisePenalty.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIpopt_1_1PiecewisePenalty-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Ipopt::PiecewisePenalty Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class for the Piecewise Penalty.  
 <a href="classIpopt_1_1PiecewisePenalty.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a863e352222e35a374ed8f38521bcf327"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#a863e352222e35a374ed8f38521bcf327">Clear</a> ()</td></tr>
<tr class="memdesc:a863e352222e35a374ed8f38521bcf327"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete all Piecewise Penalty entries.  <a href="classIpopt_1_1PiecewisePenalty.html#a863e352222e35a374ed8f38521bcf327">More...</a><br /></td></tr>
<tr class="separator:a863e352222e35a374ed8f38521bcf327"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9b06ac92572b7bf55813319001084d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#ab9b06ac92572b7bf55813319001084d2">Print</a> (const <a class="el" href="classIpopt_1_1Journalist.html">Journalist</a> &amp;jnlst)</td></tr>
<tr class="memdesc:ab9b06ac92572b7bf55813319001084d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print current Piecewise Penalty entries.  <a href="classIpopt_1_1PiecewisePenalty.html#ab9b06ac92572b7bf55813319001084d2">More...</a><br /></td></tr>
<tr class="separator:ab9b06ac92572b7bf55813319001084d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors/Destructors</div></td></tr>
<tr class="memitem:ab0c93c414c04105027886c50a8ae1631"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#ab0c93c414c04105027886c50a8ae1631">PiecewisePenalty</a> (<a class="el" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a> dim)</td></tr>
<tr class="memdesc:ab0c93c414c04105027886c50a8ae1631"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor.  <a href="classIpopt_1_1PiecewisePenalty.html#ab0c93c414c04105027886c50a8ae1631">More...</a><br /></td></tr>
<tr class="separator:ab0c93c414c04105027886c50a8ae1631"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0886c2f2f807275607ac1a55e382886"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#ab0886c2f2f807275607ac1a55e382886">~PiecewisePenalty</a> ()</td></tr>
<tr class="memdesc:ab0886c2f2f807275607ac1a55e382886"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="classIpopt_1_1PiecewisePenalty.html#ab0886c2f2f807275607ac1a55e382886">More...</a><br /></td></tr>
<tr class="separator:ab0886c2f2f807275607ac1a55e382886"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:af4a71aa87817ad17ff75fe23ee9cf9e8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#af4a71aa87817ad17ff75fe23ee9cf9e8">IsPiecewisePenaltyListEmpty</a> ()</td></tr>
<tr class="separator:af4a71aa87817ad17ff75fe23ee9cf9e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3a71f0c86ae92d21630ffe95da79967"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#af3a71f0c86ae92d21630ffe95da79967">InitPiecewisePenaltyList</a> (<a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> pen_r, <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> barrier_obj, <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> infeasi)</td></tr>
<tr class="separator:af3a71f0c86ae92d21630ffe95da79967"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95f711bc5fd14354fc6be0776812586d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#a95f711bc5fd14354fc6be0776812586d">Acceptable</a> (<a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> Fzconst, <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> Fzlin)</td></tr>
<tr class="memdesc:a95f711bc5fd14354fc6be0776812586d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check acceptability of given coordinates with respect to the Piecewise Penalty.  <a href="classIpopt_1_1PiecewisePenalty.html#a95f711bc5fd14354fc6be0776812586d">More...</a><br /></td></tr>
<tr class="separator:a95f711bc5fd14354fc6be0776812586d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72eae43f77dd7be3e612a44ca645c55b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#a72eae43f77dd7be3e612a44ca645c55b">BiggestBarr</a> ()</td></tr>
<tr class="memdesc:a72eae43f77dd7be3e612a44ca645c55b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the biggest barrier function so far.  <a href="classIpopt_1_1PiecewisePenalty.html#a72eae43f77dd7be3e612a44ca645c55b">More...</a><br /></td></tr>
<tr class="separator:a72eae43f77dd7be3e612a44ca645c55b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a715fee332c35d1eb99f8e2f1bdbfbfad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#a715fee332c35d1eb99f8e2f1bdbfbfad">UpdateEntry</a> (<a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> barrier_obj, <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> infeasi)</td></tr>
<tr class="memdesc:a715fee332c35d1eb99f8e2f1bdbfbfad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update Piecewise Penalty entry for given coordinates.  <a href="classIpopt_1_1PiecewisePenalty.html#a715fee332c35d1eb99f8e2f1bdbfbfad">More...</a><br /></td></tr>
<tr class="separator:a715fee332c35d1eb99f8e2f1bdbfbfad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bfe972128ef404cac05b08815fe700f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#a7bfe972128ef404cac05b08815fe700f">AddEntry</a> (<a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> pen_r, <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> barrier_obj, <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> infeasi)</td></tr>
<tr class="memdesc:a7bfe972128ef404cac05b08815fe700f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a entry to the list.  <a href="classIpopt_1_1PiecewisePenalty.html#a7bfe972128ef404cac05b08815fe700f">More...</a><br /></td></tr>
<tr class="separator:a7bfe972128ef404cac05b08815fe700f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cf7901c5173b6bbade4d1f59eccc967"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#a6cf7901c5173b6bbade4d1f59eccc967">ResetList</a> (<a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> pen_r, <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> barrier_obj, <a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> infeasi)</td></tr>
<tr class="memdesc:a6cf7901c5173b6bbade4d1f59eccc967"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear and reset the piecewise penalty list.  <a href="classIpopt_1_1PiecewisePenalty.html#a6cf7901c5173b6bbade4d1f59eccc967">More...</a><br /></td></tr>
<tr class="separator:a6cf7901c5173b6bbade4d1f59eccc967"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Default Compiler Generated Methods</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>(Hidden to avoid implicit creation/calling).</p>
<p>These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called. </p>
</div></td></tr>
<tr class="memitem:a2e1769f1873dae141a0a4b1035f3cc28"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#a2e1769f1873dae141a0a4b1035f3cc28">PiecewisePenalty</a> ()</td></tr>
<tr class="memdesc:a2e1769f1873dae141a0a4b1035f3cc28"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor.  <a href="classIpopt_1_1PiecewisePenalty.html#a2e1769f1873dae141a0a4b1035f3cc28">More...</a><br /></td></tr>
<tr class="separator:a2e1769f1873dae141a0a4b1035f3cc28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acff51f967613ce0954fe04074529c4b3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#acff51f967613ce0954fe04074529c4b3">PiecewisePenalty</a> (const <a class="el" href="classIpopt_1_1PiecewisePenalty.html">PiecewisePenalty</a> &amp;)</td></tr>
<tr class="memdesc:acff51f967613ce0954fe04074529c4b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy Constructor.  <a href="classIpopt_1_1PiecewisePenalty.html#acff51f967613ce0954fe04074529c4b3">More...</a><br /></td></tr>
<tr class="separator:acff51f967613ce0954fe04074529c4b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23343059c60768990f5c23bc49c2c2f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#a23343059c60768990f5c23bc49c2c2f4">operator=</a> (const <a class="el" href="classIpopt_1_1PiecewisePenalty.html">PiecewisePenalty</a> &amp;)</td></tr>
<tr class="memdesc:a23343059c60768990f5c23bc49c2c2f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Assignment Operator.  <a href="classIpopt_1_1PiecewisePenalty.html#a23343059c60768990f5c23bc49c2c2f4">More...</a><br /></td></tr>
<tr class="separator:a23343059c60768990f5c23bc49c2c2f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a3080f4a50e50284b87dc7052857cf2c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#a3080f4a50e50284b87dc7052857cf2c2">dim_</a></td></tr>
<tr class="memdesc:a3080f4a50e50284b87dc7052857cf2c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dimension of the Piecewise Penalty (number of coordinates per entry)  <a href="classIpopt_1_1PiecewisePenalty.html#a3080f4a50e50284b87dc7052857cf2c2">More...</a><br /></td></tr>
<tr class="separator:a3080f4a50e50284b87dc7052857cf2c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4df9bf49b6b6f7c1055be013f09ef1e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#aa4df9bf49b6b6f7c1055be013f09ef1e">min_piece_penalty_</a></td></tr>
<tr class="memdesc:aa4df9bf49b6b6f7c1055be013f09ef1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The min penalty value for the piecewise penalty list.  <a href="classIpopt_1_1PiecewisePenalty.html#aa4df9bf49b6b6f7c1055be013f09ef1e">More...</a><br /></td></tr>
<tr class="separator:aa4df9bf49b6b6f7c1055be013f09ef1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9eafd8483050621b54f0e34e04418fcb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#a9eafd8483050621b54f0e34e04418fcb">max_piece_number_</a></td></tr>
<tr class="memdesc:a9eafd8483050621b54f0e34e04418fcb"><td class="mdescLeft">&#160;</td><td class="mdescRight">The max number of the break points in the piecewise penalty list.  <a href="classIpopt_1_1PiecewisePenalty.html#a9eafd8483050621b54f0e34e04418fcb">More...</a><br /></td></tr>
<tr class="separator:a9eafd8483050621b54f0e34e04418fcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad81264f70c4d65cbd43cc2fdfffa16f8"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="structIpopt_1_1PiecewisePenEntry.html">PiecewisePenEntry</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIpopt_1_1PiecewisePenalty.html#ad81264f70c4d65cbd43cc2fdfffa16f8">PiecewisePenalty_list_</a></td></tr>
<tr class="memdesc:ad81264f70c4d65cbd43cc2fdfffa16f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">vector storing the Piecewise Penalty entries  <a href="classIpopt_1_1PiecewisePenalty.html#ad81264f70c4d65cbd43cc2fdfffa16f8">More...</a><br /></td></tr>
<tr class="separator:ad81264f70c4d65cbd43cc2fdfffa16f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for the Piecewise Penalty. </p>
<p>This class contains all Piecewise Penalty entries. The entries are stored as the corner point, including the margin. </p>

<p class="definition">Definition at line <a class="el" href="IpPiecewisePenalty_8hpp_source.html#l00036">36</a> of file <a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab0c93c414c04105027886c50a8ae1631"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0c93c414c04105027886c50a8ae1631">&#9670;&nbsp;</a></span>PiecewisePenalty() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Ipopt::PiecewisePenalty::PiecewisePenalty </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a>&#160;</td>
          <td class="paramname"><em>dim</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default Constructor. </p>

</div>
</div>
<a id="ab0886c2f2f807275607ac1a55e382886"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0886c2f2f807275607ac1a55e382886">&#9670;&nbsp;</a></span>~PiecewisePenalty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Ipopt::PiecewisePenalty::~PiecewisePenalty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destructor. </p>

<p class="definition">Definition at line <a class="el" href="IpPiecewisePenalty_8hpp_source.html#l00045">45</a> of file <a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a>.</p>

</div>
</div>
<a id="a2e1769f1873dae141a0a4b1035f3cc28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e1769f1873dae141a0a4b1035f3cc28">&#9670;&nbsp;</a></span>PiecewisePenalty() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Ipopt::PiecewisePenalty::PiecewisePenalty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Constructor. </p>

</div>
</div>
<a id="acff51f967613ce0954fe04074529c4b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acff51f967613ce0954fe04074529c4b3">&#9670;&nbsp;</a></span>PiecewisePenalty() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Ipopt::PiecewisePenalty::PiecewisePenalty </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classIpopt_1_1PiecewisePenalty.html">PiecewisePenalty</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy Constructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af4a71aa87817ad17ff75fe23ee9cf9e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4a71aa87817ad17ff75fe23ee9cf9e8">&#9670;&nbsp;</a></span>IsPiecewisePenaltyListEmpty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Ipopt::PiecewisePenalty::IsPiecewisePenaltyListEmpty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="IpPiecewisePenalty_8hpp_source.html#l00054">54</a> of file <a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a>.</p>

</div>
</div>
<a id="af3a71f0c86ae92d21630ffe95da79967"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3a71f0c86ae92d21630ffe95da79967">&#9670;&nbsp;</a></span>InitPiecewisePenaltyList()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Ipopt::PiecewisePenalty::InitPiecewisePenaltyList </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>pen_r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>barrier_obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>infeasi</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="IpPiecewisePenalty_8hpp_source.html#l00059">59</a> of file <a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a>.</p>

</div>
</div>
<a id="a95f711bc5fd14354fc6be0776812586d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95f711bc5fd14354fc6be0776812586d">&#9670;&nbsp;</a></span>Acceptable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Ipopt::PiecewisePenalty::Acceptable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>Fzconst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>Fzlin</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check acceptability of given coordinates with respect to the Piecewise Penalty. </p>
<dl class="section return"><dt>Returns</dt><dd>true, if pair is acceptable </dd></dl>

</div>
</div>
<a id="a72eae43f77dd7be3e612a44ca645c55b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72eae43f77dd7be3e612a44ca645c55b">&#9670;&nbsp;</a></span>BiggestBarr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> Ipopt::PiecewisePenalty::BiggestBarr </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the biggest barrier function so far. </p>

</div>
</div>
<a id="a715fee332c35d1eb99f8e2f1bdbfbfad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a715fee332c35d1eb99f8e2f1bdbfbfad">&#9670;&nbsp;</a></span>UpdateEntry()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Ipopt::PiecewisePenalty::UpdateEntry </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>barrier_obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>infeasi</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update Piecewise Penalty entry for given coordinates. </p>

</div>
</div>
<a id="a7bfe972128ef404cac05b08815fe700f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bfe972128ef404cac05b08815fe700f">&#9670;&nbsp;</a></span>AddEntry()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Ipopt::PiecewisePenalty::AddEntry </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>pen_r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>barrier_obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>infeasi</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Add a entry to the list. </p>

<p class="definition">Definition at line <a class="el" href="IpPiecewisePenalty_8hpp_source.html#l00086">86</a> of file <a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a>.</p>

</div>
</div>
<a id="a6cf7901c5173b6bbade4d1f59eccc967"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cf7901c5173b6bbade4d1f59eccc967">&#9670;&nbsp;</a></span>ResetList()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Ipopt::PiecewisePenalty::ResetList </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>pen_r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>barrier_obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&#160;</td>
          <td class="paramname"><em>infeasi</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clear and reset the piecewise penalty list. </p>

<p class="definition">Definition at line <a class="el" href="IpPiecewisePenalty_8hpp_source.html#l00107">107</a> of file <a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a>.</p>

</div>
</div>
<a id="a863e352222e35a374ed8f38521bcf327"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a863e352222e35a374ed8f38521bcf327">&#9670;&nbsp;</a></span>Clear()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Ipopt::PiecewisePenalty::Clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Delete all Piecewise Penalty entries. </p>

<p class="definition">Definition at line <a class="el" href="IpPiecewisePenalty_8hpp_source.html#l00120">120</a> of file <a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a>.</p>

</div>
</div>
<a id="ab9b06ac92572b7bf55813319001084d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9b06ac92572b7bf55813319001084d2">&#9670;&nbsp;</a></span>Print()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Ipopt::PiecewisePenalty::Print </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classIpopt_1_1Journalist.html">Journalist</a> &amp;&#160;</td>
          <td class="paramname"><em>jnlst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Print current Piecewise Penalty entries. </p>

</div>
</div>
<a id="a23343059c60768990f5c23bc49c2c2f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23343059c60768990f5c23bc49c2c2f4">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Ipopt::PiecewisePenalty::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classIpopt_1_1PiecewisePenalty.html">PiecewisePenalty</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Assignment Operator. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a3080f4a50e50284b87dc7052857cf2c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3080f4a50e50284b87dc7052857cf2c2">&#9670;&nbsp;</a></span>dim_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a> Ipopt::PiecewisePenalty::dim_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Dimension of the Piecewise Penalty (number of coordinates per entry) </p>

<p class="definition">Definition at line <a class="el" href="IpPiecewisePenalty_8hpp_source.html#l00155">155</a> of file <a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a>.</p>

</div>
</div>
<a id="aa4df9bf49b6b6f7c1055be013f09ef1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4df9bf49b6b6f7c1055be013f09ef1e">&#9670;&nbsp;</a></span>min_piece_penalty_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> Ipopt::PiecewisePenalty::min_piece_penalty_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The min penalty value for the piecewise penalty list. </p>

<p class="definition">Definition at line <a class="el" href="IpPiecewisePenalty_8hpp_source.html#l00158">158</a> of file <a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a>.</p>

</div>
</div>
<a id="a9eafd8483050621b54f0e34e04418fcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9eafd8483050621b54f0e34e04418fcb">&#9670;&nbsp;</a></span>max_piece_number_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a> Ipopt::PiecewisePenalty::max_piece_number_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The max number of the break points in the piecewise penalty list. </p>

<p class="definition">Definition at line <a class="el" href="IpPiecewisePenalty_8hpp_source.html#l00161">161</a> of file <a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a>.</p>

</div>
</div>
<a id="ad81264f70c4d65cbd43cc2fdfffa16f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad81264f70c4d65cbd43cc2fdfffa16f8">&#9670;&nbsp;</a></span>PiecewisePenalty_list_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="structIpopt_1_1PiecewisePenEntry.html">PiecewisePenEntry</a>&gt; Ipopt::PiecewisePenalty::PiecewisePenalty_list_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>vector storing the Piecewise Penalty entries </p>

<p class="definition">Definition at line <a class="el" href="IpPiecewisePenalty_8hpp_source.html#l00164">164</a> of file <a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/contrib/CGPenalty/<a class="el" href="IpPiecewisePenalty_8hpp_source.html">IpPiecewisePenalty.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
</body>
</html>
